﻿using MediatR;
using Tb.App.ErrorCode;

namespace Tb.App.API.Applications.Command.Cultivation
{
    /// <summary>
    /// 添加养殖信息-请求
    /// </summary>
    public class AddCultivationCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 品种
        /// </summary>
        public string? Variety { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string? Source { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int RearingDays { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string? Brand { get; set; }
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string? RearingLeader { get; set; }
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime? OutDate { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
    }
}
